import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/global.css'
import  'lib-flexible'
import './mock/mock'

// 自定义指令
import Directives from './directives'
import { Button, Tabbar, TabbarItem, Toast, Uploader} from 'vant'
Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Toast)
Vue.use(Uploader)
Vue.config.productionTip = false
Vue.use(Directives)
Vue.prototype.$toast = Toast

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
